package com.nook.controller;

import com.nook.model.SysUser;
import com.nook.service.ISyserUserService;
import org.noear.solon.annotation.Controller;
import org.noear.solon.annotation.Inject;
import org.noear.solon.annotation.Mapping;
import org.noear.solon.annotation.Post;

import java.util.List;

@Controller
@Mapping("/b/user")
public class SysUserController {
    @Inject
    private ISyserUserService syserUserService;
    /**
     * 导出
     *
     *
     */
    @Post
    @Mapping("/findList")
    public List<SysUser> findList() {
        return syserUserService.findAll();
    }
}
